package com.whc.common.design.key;

import cn.hutool.core.util.IdUtil;

/**
 * @author wang-hai-cheng
 * @since 2021/12/29 21:22
 */
public class LongKeyGenerate implements KeyGenerate {
    @Override
    public Object generate() {
        return IdUtil.getSnowflake().nextId();
    }
}